import level_goldMiner from "../level_goldMiner";

const {ccclass, property} = cc._decorator;

@ccclass
export default class level_goldMiner_hook extends cc.Component {

    @property({type:level_goldMiner,tooltip:"关卡"})
    level:level_goldMiner = null;

    /**碰撞开始 */
    onCollisionEnter(other:cc.Collider, self:cc.Collider) {
        this.level.onColision(other,self);
    }
    
}
